package com.csu54sher.basereservation.service;

import com.csu54sher.basereservation.dto.CommentSubmitDTO;
import com.csu54sher.basereservation.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.csu54sher.basereservation.vo.CommentVO;

import java.util.List;

/**
 * <p>
 * 评价表 服务类
 * </p>
 *
 * @author csu54sher
 * @since 2025-10-19
 */
public interface ICommentService extends IService<Comment> {

    void comment(Integer reservationId, CommentSubmitDTO commentSubmitDTO);

    List<CommentVO> getCommentByBaseId(Integer baseId);

    List<CommentVO> getCommentByReservationId(Integer reservationId);

    List<CommentVO> getComments();
}
